home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PC-TALK III 1/19/85
-
- DOCUMENTATION FOR THE IBM 3101 EMULATION INCORPORATED
- IN THE PROGRAM PC-TALK Version: EXECPCT 2.0
-
- -> by Kyle Cummings, 5507 North 36th St., Arlington VA 22207 <-
-
-
-
- GENERAL
-
- The changes in the updated PC-TALK program Version EXECPCT correct
- some problems in the 3101 protocol section. The escape characters
- were corrected and a few new ones were added.
-
-
-
- REFERENCE
-
- The subroutine was cleaned up a bit and refined using the protocol
- for 3101 communication as defined in the IBM manual:
- "IBM 3101 Display Terminal Description"
- Page A-4 & A-5
- (IBM manual number GA18-2033-2)
-
-
-
- COMMENTS
-
- The subroutine works well for full screen support with the Alanthus
- Protocol Converter we use for communication to a IBM 3083 running VM.
- Appendix A-11B is for users of the Alanthus Protocol Converter.
-
- To use the emulation while running PC-TALK, hold down the Alt key
- and press "O". This will result in a message saying:
-
- "=== I.B.M. 3101 Operation On"
-
- You are now in 3101 mode. Place the call to the other computer and
- the program will emulate an IBM 3101.
-
-
- We have defined some of the keys for use under 3101
- emulation. They are as follows:
-
- IBM PC KEYS IBM 3101 KEYS IBM 3270 KEYS
- -----------------------------------------------------------
- Program Attention Keys:
- Enter.................New Line................ENTER
- Esc 1 Enter...........PF1.....................PF1
- Esc 2 Enter...........PF2.....................PF2
- Esc 3 Enter...........PF3.....................PF3
- Esc 4 Enter...........PF4.....................PF4
- Esc 5 Enter...........PF5.....................PF5
- Esc 6 Enter...........PF6.....................PF6
- Esc 7 Enter...........PF7.....................PF7
- Esc 8 Enter...........PF8.....................PF8
- Esc 9 Enter...........ESC 9 New Line..........PF9
- Esc 1 0 Enter.........ESC 1 0 New Line........PF10
- Esc 1 1 Enter.........ESC 1 1 New Line........PF11
- Esc 1 2 Enter.........ESC 1 2 New Line........PF12
- Esc 1 3 Enter.........ESC 1 3 New Line........PF13
- Esc 1 4 Enter.........ESC 1 4 New Line........PF14
- Esc 1 5 Enter.........ESC 1 5 New Line........PF15
- Esc 1 6 Enter.........ESC 1 6 New Line........PF16
- Esc 1 7 Enter.........ESC 1 7 New Line........PF17
- Esc 1 8 Enter.........ESC 1 8 New Line........PF18
- Esc 1 9 Enter.........ESC 1 9 New Line........PF19
- Esc 2 0 Enter.........ESC 2 0 New Line........PF20
- Esc 2 1 Enter.........ESC 2 1 New Line........PF21
- Esc 2 2 Enter.........ESC 2 2 New Line........PF22
- Esc 2 3 Enter.........ESC 2 3 New Line........PF23
- Esc 2 4 Enter.........ESC 2 4 New Line........PF24
- Home..................CLEAR...................CLEAR
- Cursor Control Keys:
- Left Arrow............Left Arrow..............Left
- Right Arrow...........Right Arrow.............Right
- Up Arrow..............Up Arrow................Up
- Down Arrow............Down Arrow..............Down
- Pg Dn.................NEW LINE................NEW LINE
- Tab Right.............TAB RIGHT...............TAB RIGHT
- Tab Left..............TAB LEFT................TAB LEFT
- Ctrl-Home.............Home....................Home
- Editing Control Keys:
- Ctrl-Pg up............ERASE INPUT.............ERASE INPUT
- End...................ERASE EOF...............ERASE EOF
- Ins...................ALT-V...................INSERT MODE
- Del...................DEL.....................DELETE
- Miscellaneous Functions:
- Pg Up.................CANCEL..................RESET
- Ctrl-F................ALT-F...................FIELD MARK
- Ctrl-D................ALT-D...................DUP
- ** ")"(Right ............")"(Right ..............Initial Sign On
- Parenthesis), Parenthesis),
- repeatedly until repeatedly until
- MDS-8070 responds. MDS-8070 responds.
-
- ** (For Alanthus Protocol Converter Only)
-
- Note: IBM 3270 KEYS are as the Alanthus Protocol Converter would recognize
- them.
-
- APPENDIX A-11B
-
- Special Function Keys - IBM PC (IBM 3101)
-
- The following table lists IBM 3270 special function keys in the left
- column, and in the right column the corresponding key (or multiple-key
- sequence) on the IBM PC terminal keyboard which will cause the MDS-8070
- to simulate the function performed by the respective 3270 key.
- Display fields which the host computer has defined as "intensified"
- are indicated by an exclamation point (!) in the display position
- preceding each field.
-
-
- IBM 3270 IBM PC IBM 3270 IBM PC
- Key Function Equivalent Key Function Equivalent
- *********************************** ***********************************
- Program Attention Keys: Cursor Control Keys:
- ENTER.................Enter Left...................Left Arrow
- PA1...................Ctrl-A A Right..................Right Arrow
- PA2...................Ctrl-A B Up.....................Up Arrow
- PA3...................Ctrl-A C Down...................Down Arrow
- PF1...................Esc 1 Enter NEW LINE...............Pg Dn
- PF2...................Esc 2 Enter TAB RIGHT..............Tab Right
- PF3...................Esc 3 Enter TAB LEFT...............Tab Left
- PF4...................Esc 4 Enter Home...................Ctrl-Home
- PF5...................Esc 5 Enter Editing Control Keys:
- PF6...................Esc 6 Enter ERASE INPUT............Ctrl-Pg up
- PF7...................Esc 7 Enter ERASE EOF..............End
- PF8...................Esc 8 Enter INSERT MODE............Ins
- PF9...................Esc 9 Enter DELETE.................Del
- PF10..................Esc 1 0 Enter Miscellaneous Functions:
- PF11..................Esc 1 1 Enter RESET..................Pg Up
- PF12..................Esc 1 2 Enter FIELD MARK.............Ctrl-F
- PF13..................Esc 1 3 Enter DUP....................Ctrl-D
- PF14..................Esc 1 4 Enter s Print..................Ctrl-P
- PF15..................Esc 1 5 Enter s IDENT..................Ctrl-T
- PF16..................Esc 1 6 Enter s DEV CNCL...............Pg Up
- PF17..................Esc 1 7 Enter * Refresh Screen.........Ctrl-Z
- PF18..................Esc 1 8 Enter * Display Status Line....Ctrl-E
- PF19..................Esc 1 9 Enter * Remove Status Line.....Ctrl-X
- PF20..................Esc 2 0 Enter * Supervisor Req.........Ctrl-Y
- PF21..................Esc 2 1 Enter b#* Copy...................Ctrl-P
- PF22..................Esc 2 2 Enter #* Printer Not Available..Ctrl-N
- PF23..................Esc 2 3 Enter #* Printer Online.........Ctrl-O
- PF24..................Esc 2 4 Enter * Remote Loopback........
- b TEST REQ..............Ctrl-A T * Initial Sign On........")"(Right
- s SYS REQ...............Ctrl-A T Parenthesis),
- CLEAR.................Home repeatedly until
- s ATTN..................Ctrl-A S MDS-8070 responds.
-
-
-
- * These functions are not 3270-compatible, but are unique to the MDS-8070.
- Their functions are described in the MDS-8070 documentation.
- # Shared Printer not fully supported - See Appendix-B.
- b BSC protocol only.
- s SNA protocol only.
-
- Explanations of ESCape codes for 3101 EMULATION in PC-TALK
-
- In this document the word ESCAPE refers to CHR$(27)
- All characters in uppercase are included in the code.
- All characters in LOWERcase are reference and NOT included in the code.
- Plus signs are used to show that charcters are used together.
- They are NOT part of the code unless specified.
- (Ex. ESCAPE+A is equal to the BASIC code CHR$(27)+"A")
-
-
-
-
- -> Move cursor to a position on the screen (LOCATE):
-
- Format: ESCAPE+Y+row+col
-
- Remarks: row REFERS TO A CHARACTER FROM CHR$(32) TO CHR$(55)
- CHR$(32) is equal to row 1 on the screen.
- CHR$(55) is equal to row 24 on the screen.
-
- col REFERS TO A CHARACTER FROM CHR$(32) TO CHR$(111)
- CHR$(32) is equal to col 1 on the screen.
- CHR$(111) is equal to col 80 on the screen.
-
-
-
-
-
- -> Move cursor UP one location:
-
- Format: ESCAPE+A
-
- Remarks: This ESCape code moves the cursor UP one row.
- It is the same as pressing the UP ARROW key
- on the keyboard.
-
-
-
-
- -> Move cursor DOWN one location:
-
- Format: ESCAPE+B
-
- Remarks: This ESCape code moves the cursor DOWN one row.
- It is the same as pressing the DOWN ARROW key
- on the keyboard.
-
-
-
-
-
- -> Move cursor RIGHT one location:
-
- Format: ESCAPE+C
-
- Remarks: This ESCape code moves the cursor RIGHT one col.
- It is the same as pressing the RIGHT ARROW key
- on the keyboard.
-
- -> Move cursor LEFT one location:
-
- Format: ESCAPE+D
-
- Remarks: This ESCape code moves the cursor LEFT one col.
- It is the same as pressing the LEFT ARROW key
- on the keyboard.
-
-
-
-
- -> Erase until end of page:
-
- Format: ESCAPE+J
-
- Remarks: This erases from the current cursor position until
- the end of the page. On 3270 type terminals it performs
- as a Erase EOF key.
- (Ex. If you are on col 3, everything from col 3 to col 80
- is erased.)
-
-
-
-
- -> Clear the screen:
-
- Format: ESCAPE+L
-
- Remarks: This clears the screen and sets col and row to 1.
-
-
-
-
-
- -> Goto Home address:
-
- Format: ESCAPE+H
-
- Remarks: This sets col and row to 1 without clearing the screen.
-
-
-
-
-
- -> Turn 3101 emulation ON/OFF: (NOT standard 3101 protocol)
-
- Format: ESCAPE+O+action
-
- Remarks: This turns the 3101 emulator off and on inside PC-TALK.
- If action is equal to "-" then 3101 is off. If action
- is equal to "+" then 3101 is on.